package com.gan.springcloud.cartconsumerfeign;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableFeignClients//开启feign客户端
@EnableDiscoveryClient//开启服务注册
public class CartConsumerFeignApplication {
    public static void main(String[] args) {
        SpringApplication.run(CartConsumerFeignApplication.class, args);
    }

}
